package com.disease.api.service.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.disease.api.service.entity.EmrDeathInfo;
import com.disease.api.service.model.request.EmrDeathInfoRequest;
import com.disease.api.service.model.response.EmrDeathInfoResponse;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@DS("base")
public interface EmrDeathInfoMapper extends BaseMapper<EmrDeathInfo>{

    List<EmrDeathInfo> query(EmrDeathInfoRequest deathReportInfo);

    EmrDeathInfo queryOne(EmrDeathInfoRequest deathReportInfo);

    List<EmrDeathInfo> queryList(EmrDeathInfoRequest deathReportInfo);

    List<EmrDeathInfo> queryBySeriesNumber(List<String> seriesNumber);

    List<EmrDeathInfo> selectByQuery(@Param("list")List<String> seriesNumber,@Param("request") EmrDeathInfoRequest deathReportInfo);

    List<EmrDeathInfo> queryPageByDoctor(EmrDeathInfoRequest deathReportInfo);

}

